home *** CD-ROM | disk | FTP | other *** search
- Path: feed.umontreal.ca!usenet
- From: Carlos Moreno <moreno@crt.umontreal.ca>
- Newsgroups: comp.lang.c++
- Subject: Re: pointer to 2 dim array
- Date: Tue, 05 Mar 1996 18:32:37 -0500
- Organization: Universite de Montreal
- Distribution: world
- Message-ID: <313CCF15.5A09@crt.umontreal.ca>
- References: <313B3317.3CD9@gold.interlog.com> <313B55C2.2F31@gold.interlog.com>
- NNTP-Posting-Host: gate.crt.umontreal.ca
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.4 sun4m)
-
- > MARK GILLANDERS wrote:
- > >
- > > How can I create a dynamic 2 dimesional array
- > > and be able to be store and retrieve from it?
-
- Mark,
-
- Check the FAQ of the C newsgroup (comp.lang.c). This topic is
- explicitely addressed there. They give you the solution using
- malloc and free. The extension to new and delete is straightforward.
-
- Good luck,
-
- Carlos
- --
-